import { httpPost } from '@/http'
import { services } from '@/config'

export const newThread = ({ userIds, type, name }) =>
  httpPost(`${services.commonService}im-thread/new-thread`, { userIds, type, name })
